const state = {
    regionName: '',
    deployName: '',
}

const mutations = {
    SET_REGION_NAME: (state, regionName) => {
        state.regionName = regionName
    },
    SET_DEPLOY_NAME: (state, deployName) => {
        state.deployName = deployName
    },
}

const actions = {
    setRegionName({ commit }, regionName) {
        commit('SET_REGION_NAME', regionName)
    },
    setDeployName({ commit }, deployName) {
        commit('SET_DEPLOY_NAME', deployName)
    },
}
export default {
    namespaced: true,
    state,
    mutations,
    actions
}